package com.skivingcloud.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 找人策略
 * </p>
 *
 * @author skivingcloud
 * @since 2022-03-03
 */
@TableName("wf_strategy")
@ApiModel(value = "Strategy对象", description = "找人策略")
public class Strategy implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("策略编码")
    private String strategyCode;

    @ApiModelProperty("找人策略")
    private String strategyName;

    private String strategySql;

    @ApiModelProperty("参数")
    private String strategyParam;

    @ApiModelProperty("策略类型：1-本地固化策略、2-本地sql、3、服务调用")
    private String strategyType;

    @ApiModelProperty("服务名，微服务名称")
    private String serverName;

    @ApiModelProperty("接口地址")
    private String apiUrl;

    @ApiModelProperty("创建人")
    private String creater;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改人")
    private String modUser;

    @ApiModelProperty("最后修改时间")
    private LocalDateTime lastModTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getStrategyCode() {
        return strategyCode;
    }

    public void setStrategyCode(String strategyCode) {
        this.strategyCode = strategyCode;
    }
    public String getStrategyName() {
        return strategyName;
    }

    public void setStrategyName(String strategyName) {
        this.strategyName = strategyName;
    }
    public String getStrategySql() {
        return strategySql;
    }

    public void setStrategySql(String strategySql) {
        this.strategySql = strategySql;
    }
    public String getStrategyParam() {
        return strategyParam;
    }

    public void setStrategyParam(String strategyParam) {
        this.strategyParam = strategyParam;
    }
    public String getStrategyType() {
        return strategyType;
    }

    public void setStrategyType(String strategyType) {
        this.strategyType = strategyType;
    }
    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }
    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }
    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getModUser() {
        return modUser;
    }

    public void setModUser(String modUser) {
        this.modUser = modUser;
    }
    public LocalDateTime getLastModTime() {
        return lastModTime;
    }

    public void setLastModTime(LocalDateTime lastModTime) {
        this.lastModTime = lastModTime;
    }

    @Override
    public String toString() {
        return "Strategy{" +
            "id=" + id +
            ", strategyCode=" + strategyCode +
            ", strategyName=" + strategyName +
            ", strategySql=" + strategySql +
            ", strategyParam=" + strategyParam +
            ", strategyType=" + strategyType +
            ", serverName=" + serverName +
            ", apiUrl=" + apiUrl +
            ", creater=" + creater +
            ", createTime=" + createTime +
            ", modUser=" + modUser +
            ", lastModTime=" + lastModTime +
        "}";
    }
}
